#ifndef MOTOR_H_
#define MOTOR_H_


//motor.c functions
void init_ccp1(void);
void start_ccp1(void);
void set_duty_ccp1(unsigned char duty);

//pwm frequency and duty cycle settings
#define FREQ_SETTING (unsigned char)49
#define DUTY_FIFTY 127

//this is the Port C pin that 
//CCP1 pwm is output to
#define PWM_PN 2

//TRIS register of port PWM
//is output to
#define TRIS_PWM TRISC

#endif
